package cn.tedu.ivos2.application.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
@Data
public class Application {
    @ApiModelProperty(value = "用车申请表id")
    private Long id;
    @ApiModelProperty(value = "申请人Id")
    private String userId;
    @ApiModelProperty(value = "申请人名称")
    private String userName;
    @ApiModelProperty(value = "开始时间")
    private Date startTime;
    @ApiModelProperty(value = "结束时间")
    private Date endTime;
    @ApiModelProperty(value = "驾照图片")
    private String imgUrl;
    @ApiModelProperty(value = "出发地")
    private String departureAddr;
    @ApiModelProperty(value = "目的地")
    private String destinationAddr;
    @ApiModelProperty(value = "用车原因")
    private String reason;
    @ApiModelProperty(value = "其他备注信息")
    private String remark;
    @ApiModelProperty(value = "申请状态")//申请表状态 已发起10 撤销20 审核中30 驳回40 已通过50 分配用车60 工单结束70
    private String status;
    @ApiModelProperty(value = "分配的车辆信息")
    private Long vehicleId;
    @ApiModelProperty(value = "驳回原因")
    private String rejectReason;
    @ApiModelProperty(value = "申请创建时间")
    private Date createTime;
    @ApiModelProperty(value = "申请结束时间")
    private Date updateTime;
}
